import request from '@/utils/request'

/**
 * app版本控制
 */
export function upLoadApp(params) {
  return request({
    url: '/server/versionControl/save',
    method: 'post',
    data: params
  })
}
/**
 * app版本列表
 */
export function appList(params) {
  return request({
    url: '/server/versionControl/list',
    method: 'get',
    data: params
  })
}
/**
 * 区域支付设置列表
 */
export function payInfoList(params) {
  return request({
    url: '/server/payInfo/list',
    method: 'get',
    data: params
  })
}
/**
 * 区域支付详情
 */
export function payInfo(params) {
  return request({
    url: '/server/payInfo/info',
    method: 'get',
    data: params
  })
}
/**
 * 区域支付设置 添加
 */
export function payInfoAdd(params) {
  return request({
    url: '/server/payInfo/add',
    method: 'post',
    data: params
  })
}
/**
 * 区域支付设置 添加
 */
export function payInfoUpdate(params) {
  return request({
    url: '/server/payInfo/update',
    method: 'post',
    data: params
  })
}
